package com.changgou.oauth.service;

import com.changgou.oauth.util.AuthToken;

/**
 * @Author LQQ
 * @Date 2020/3/10 12:56
 * @Version 1.0
 */
public interface AuthService {
    /**
     * 登入认证功能
     * @param username
     * @param password
     * @param clientId
     * @param clientSecret
     * @return
     */
    AuthToken login(String username,String password,String clientId,String clientSecret);
}
